Preparing a reausable utility to get file informations on creation/update