When an extension is not known, or if a file has no extension, allegro should try to read the first bytes of the file and check if it knows the file signature, and load the file with the appropriate loader, instead of failing.
http://en.wikipedia.org/wiki/List_of_file_signatures