This removes EE-only directives in favor of file existence checks.
Attach a file by drag & drop or click to upload