Extracted function to check file for . or ..
Fixed indentation
Merge branch 'master' of github.com:jakob190590/GSFileManager