Moved console.log and .warn to util-file