Pulling stuff out of file handling