creating files for malloc