Fixed the linkage of file by making items static and other stuff...