Fixed uploading arbitrary content of defined size.

Now it should be possible to filter by file size and allow all content types and file extensions as well. Previously the allowsFile Function wouldn't allow .dmg .docx files (for example). Files which content type or extension was discovered as unknown. UNTESTED!