// modify the file corresponding attribute
final File attributeFile = new File(new File(new File(storageWorkDir, repoId), ".nexus/attributes"), filePart);
Attributes attributes;
try (FileInputStream in = new FileInputStream(attributeFile)) {
attributes = marshaller.unmarshal(in);
}
// set new value
attributes.setLastRequested(now + offset);