fixing some typos + documentation
FileAssociatedAsset::addResourcePath
reducing scope of a variable
additional error message