Filesystem Helper: Remove possible nullPointerExceptions