ensuring that files upload