creates file struct, paths for login