Forgot to check for NULL in filebrowser.. Would crash if file had no ext. Doh..