FAIMS-239 - Fix the bug with opening file extension