fixed file open