not writing to console and testing file icon