Corrections to File Functions in Profile

Also includes sample layout of Qt Window