fixes to staging::file resources