change view directory and file