Check files via ajax, so we don't have to upload to find out a file exists.