complete files to object
ready for db insert