took this as example from fabpot/Sami i dont really know how to create console files