@mansu You need to make sure the file and locations have the correct permissions for the nifi user. For example in linux:
chown -R nifi:nifi /path/to/files
If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.
Thanks,
Steven