started working on file stuff