getting files ready for display