initial file handler