fixed setUpFiles on metadata and bibRef