Creates a file object and populates the timestamp property.
$filepath: The filepath of a file to import.
An object representing the file.
function locale_translate_file_create($filepath) {
  $file = new stdClass();
  $file->filename = drupal_basename($filepath);
  $file->uri = $filepath;
  $file->timestamp = filemtime($file->uri);
  return $file;
}