removing get_file_component directory