fixes erroneous requirement for PATHINFO_FILENAME