Important bugfix to prevent reading data from files starting with '.' such as .DS_Store