add check for adding more than one file