Split openAlternativeFile and getAlternativeFile