{{newin|[[0.10.0]]|100|type=function}}
Gets the filename that the File object was created with. If the file object originated from the [[love.filedropped]] callback, the filename will be the full platform-dependent file path.
== Function ==
=== Synopsis ===
<source lang="lua">
filename = File:getFilename( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|string|filename|The filename of the File.}}
== See Also ==
* [[parent::File]]
[[Category:Functions]]
{{#set:Description=Gets the filename that the File object was created with.}}
== Other Languages ==
{{i18n|(File):getFilename}}