fixes for file getter