correcting frame build
frame flags handling
unique file identifier frame