Remember that when you read/write files, you should handle it inside a try/catch block