coverage for file and dir implementations