working on file loading