Removed redundant reference to filenames_array