Add file handler routine