cleaned up advanced file up a bit