Microsoft interview question

Given a file that represents a program with comments. Output the file with the comments removed.