begins work on a file handler