Fix volume file logic