Add check for file existence
Indentation, style