Remove marker function and reformat file