improved revision structure, metadata into file instead of the file attributes