Slight update to the filename regex

- accept extensions from 2 to 4 characters in length