How to customize how field is displayed in view UPDATE: Thanks to Molot I now see how I can edit the output of the view using the specific tpl file for that field. However I'm still not sure how to refer to that field and print it within that tpl file.



I have a file field in a custom content type that I'm displaying in a view. I want it to spit out the path to the file and nothing else in the view so I can do whatever I want with it. I have customized the views-view-unformatted-nameofview.tpl.php so it doesn't wrap the entire view with the default drupal divs and classes, like so:

&lt;?php foreach ($rows as $id =&gt; $row):
    print $row;
endforeach; ?&gt;


Which works but is there a way to customize how it spits out a specific field? 
Even though I customize the html style to none it still tries to do things like display a custom icon for my file which I don't want. I'm also rewriting the output of the field in the view like so

&lt;img src="[field_front_page_icon]"&gt;


I want to embed it into an img tag but what I end up with is

&lt;img src="&amp;lt;span class=" file"=""&gt;    
&lt;img class="file-icon" alt="" title="image/svg+xml"  src="/modules/file/icons/image-x-generic.png"&gt; 
&lt;a  href="https://url.com/sites/default/files/maps.svg" type="image/svg+xml;  length=5657"&gt; 
    maps.svg 
&lt;/a&gt;


When all I want it to display is

&lt;img src="https://url.com/sites/default/files/maps.svg"&gt;


I would normally use an image field but it doesn't seem to allow to add svg as an acceptable file type. I'm open to other ways to go about it, but even if that's the case it'd still be nice to know how to edit the field output in views. I'd rather not install a pre-existing module if at all possible. However I would understand if that is the only reasonable course of action.
If you just want to rewrite the file field in Views to something like

&lt;img src="https://url.com/sites/default/files/maps.svg"&gt;


All you have to do is


add that File Field in Fields section
Inside the File Field configure, select "URL to file" on Formatter
Inside the File Field configure rewrite results section, check the "Rewrite the output of this field" and rewrite something like "&lt;img src="[field_file] "&gt;" on Text area. Then click Apply.