Set fileformat