address a warning about a missing method
Merge pull request #1073 from devoncarew/devoncarew_file_mock_warning

address a warning about a missing method