Added some option variables to create different type files
Added a checking method