Added method browse_file which takes root_path as argument. Changed original version to browse_file