path fix for files