Fixed Unix support

Need to implement sorting of files and this will be done!