added DS_Store filtering to php