File.expand_path as in ruby