Maintain user original permissions
Remove random variable 'j'
Add multiple file support