Separate data to another file