Some improvements

Deleted closing brackets to avoid [[*snippet]]]] - this situation.
Windows users path.
getResourceField snippet - for Sublime Tuts purposes.