protected static function createFromString($file) { return new StaplerFile($file, pathinfo($file)['basename']); }