Split mounting and opening steps to properly open files, and not just directories