diff --git a/src/Entity.jl b/src/Entity.jl
index ea64d404fe58559562d0573bf69737f57c275a91..d0527e7161b2d223a820fe3be6b2a8cbf476dc8d 100644
--- a/src/Entity.jl
+++ b/src/Entity.jl
@@ -350,9 +350,10 @@ function create_property(;
 end
 """
 function create_file_entity(;
-    name::AbstractString = "",
     local_path::AbstractString,
-    remote_path::AbstractString)
+    remote_path::AbstractString,
+    name::AbstractString = "",
+)
 
 Return a new entity object with role File.
 `local_path` is the path of the file on the local file system. An exception is