new custom file field that can check for file type using python-magic and for limiting file size