fixed file open

-issues - opening more than one file