Pass selected file path to parser to resolve relative paths properly