[#85] Fix bug in custom metadata for files