C language, split file into one folder