Modified getFileStore() to include case where file does not exist