Fix getting files