Fixed updating file property after its been set to empty, closes #154