Adding file format into correct places