Fixing File.expand_path error