Only images are accepted. Other files are marked invalid.