Use fragment for opening file instead of dialog