check for edit and drop files and return null in templating if not there