Construct file obj