Hiding simple file helper methods.