rename asset to file
add bool parameter