Save files by id