Refactoring: Files

I understand, maybe logger the error and return false.