Add checks for file existence before attempting to open them

Also made FSTEntry's constructor internal so that it cannot be instantiated outside of the library.