[[ Bug 13893 ]] ask file with type causes a crash
Merge pull request #1419 from runrevsebastien/bugfix-13893

[[ Bug 13893 ]] ask file with type causes a crash