Added loadFileError check
.gitignore updated