Deviceready issue sorted out, now working on file stuff..