change some file constructor