Use the existing open_file_with_app function