Make sure to check if the file exists.