Prepares files for distribution