modified allowed file formats

improves on the fix for #105