made the file manager opening part automatic.