Cleaning the file from used code