Changed file paths for reading and writing