Add metadata to fileentry