Adding specs for file handler