When referring to files you have to add a c to the end of it. (I just learned this too). See this thread.