Add setDir function
Use setDir function
Remove native file support because is useless
Correct area size