Removed regex to skip files starting with .
Renamed variables