Fixes incorrect file accessor