updated for file requirements